<template>
    
<el-container class="All">
  <el-aside width="200px">
    <sidebar></sidebar>
     
  </el-aside>
  <el-container>
    <el-header>{{$store.state.userInfo}}</el-header>
    <el-main><router-view></router-view> </el-main>
  </el-container>
</el-container>
</template>

<script>
import sidebar from "./../components/common/sidebar.vue"
export default {
   components:{
       sidebar
   }
}
</script>

<style scoped>
.All{
    height: 100vh;
}
 .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
  
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
 
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
   
  }
</style>